package com.cw.jeeyt.dao.model.security;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 组织机构Example
 *
 * @author chenw
 * @date 2020-03-18 20:05:22
 */
public class SecurityOrgExample {
    /** 排序字段 */
    protected String orderByClause;

    /** 是否只查询记录不同的数据 */
    protected boolean distinct;

    /** or条件查询集合 */
    protected List<Criteria> oredCriteria;

    /**
     * 初始化or条件查询集合
     */
    public SecurityOrgExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * 排序字段set方法
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * 排序字段get方法
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * 不同记录set方法.
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * 不同记录get方法.
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * 排序集合get方法
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * or
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * or
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * 初始化标准规范
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * 初始化标准规范
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * 清除数据
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOrgIdIsNull() {
            addCriterion("org_id is null");
            return (Criteria) this;
        }

        public Criteria andOrgIdIsNotNull() {
            addCriterion("org_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrgIdEqualTo(Long value) {
            addCriterion("org_id =", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotEqualTo(Long value) {
            addCriterion("org_id <>", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdGreaterThan(Long value) {
            addCriterion("org_id >", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdGreaterThanOrEqualTo(Long value) {
            addCriterion("org_id >=", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdLessThan(Long value) {
            addCriterion("org_id <", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdLessThanOrEqualTo(Long value) {
            addCriterion("org_id <=", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdLike(Long value) {
            addCriterion("org_id like", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotLike(Long value) {
            addCriterion("org_id not like", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdIn(List<Long> values) {
            addCriterion("org_id in", values, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotIn(List<Long> values) {
            addCriterion("org_id not in", values, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdBetween(Long value1, Long value2) {
            addCriterion("org_id between", value1, value2, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotBetween(Long value1, Long value2) {
            addCriterion("org_id not between", value1, value2, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgCodeIsNull() {
            addCriterion("org_code is null");
            return (Criteria) this;
        }

        public Criteria andOrgCodeIsNotNull() {
            addCriterion("org_code is not null");
            return (Criteria) this;
        }

        public Criteria andOrgCodeEqualTo(String value) {
            addCriterion("org_code =", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeNotEqualTo(String value) {
            addCriterion("org_code <>", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeGreaterThan(String value) {
            addCriterion("org_code >", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeGreaterThanOrEqualTo(String value) {
            addCriterion("org_code >=", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeLessThan(String value) {
            addCriterion("org_code <", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeLessThanOrEqualTo(String value) {
            addCriterion("org_code <=", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeLike(String value) {
            addCriterion("org_code like", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeNotLike(String value) {
            addCriterion("org_code not like", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeIn(List<String> values) {
            addCriterion("org_code in", values, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeNotIn(List<String> values) {
            addCriterion("org_code not in", values, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeBetween(String value1, String value2) {
            addCriterion("org_code between", value1, value2, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeNotBetween(String value1, String value2) {
            addCriterion("org_code not between", value1, value2, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgNameIsNull() {
            addCriterion("org_name is null");
            return (Criteria) this;
        }

        public Criteria andOrgNameIsNotNull() {
            addCriterion("org_name is not null");
            return (Criteria) this;
        }

        public Criteria andOrgNameEqualTo(String value) {
            addCriterion("org_name =", value, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameNotEqualTo(String value) {
            addCriterion("org_name <>", value, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameGreaterThan(String value) {
            addCriterion("org_name >", value, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameGreaterThanOrEqualTo(String value) {
            addCriterion("org_name >=", value, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameLessThan(String value) {
            addCriterion("org_name <", value, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameLessThanOrEqualTo(String value) {
            addCriterion("org_name <=", value, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameLike(String value) {
            addCriterion("org_name like", value, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameNotLike(String value) {
            addCriterion("org_name not like", value, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameIn(List<String> values) {
            addCriterion("org_name in", values, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameNotIn(List<String> values) {
            addCriterion("org_name not in", values, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameBetween(String value1, String value2) {
            addCriterion("org_name between", value1, value2, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameNotBetween(String value1, String value2) {
            addCriterion("org_name not between", value1, value2, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgTypeIsNull() {
            addCriterion("org_type is null");
            return (Criteria) this;
        }

        public Criteria andOrgTypeIsNotNull() {
            addCriterion("org_type is not null");
            return (Criteria) this;
        }

        public Criteria andOrgTypeEqualTo(String value) {
            addCriterion("org_type =", value, "orgType");
            return (Criteria) this;
        }

        public Criteria andOrgTypeNotEqualTo(String value) {
            addCriterion("org_type <>", value, "orgType");
            return (Criteria) this;
        }

        public Criteria andOrgTypeGreaterThan(String value) {
            addCriterion("org_type >", value, "orgType");
            return (Criteria) this;
        }

        public Criteria andOrgTypeGreaterThanOrEqualTo(String value) {
            addCriterion("org_type >=", value, "orgType");
            return (Criteria) this;
        }

        public Criteria andOrgTypeLessThan(String value) {
            addCriterion("org_type <", value, "orgType");
            return (Criteria) this;
        }

        public Criteria andOrgTypeLessThanOrEqualTo(String value) {
            addCriterion("org_type <=", value, "orgType");
            return (Criteria) this;
        }

        public Criteria andOrgTypeLike(String value) {
            addCriterion("org_type like", value, "orgType");
            return (Criteria) this;
        }

        public Criteria andOrgTypeNotLike(String value) {
            addCriterion("org_type not like", value, "orgType");
            return (Criteria) this;
        }

        public Criteria andOrgTypeIn(List<String> values) {
            addCriterion("org_type in", values, "orgType");
            return (Criteria) this;
        }

        public Criteria andOrgTypeNotIn(List<String> values) {
            addCriterion("org_type not in", values, "orgType");
            return (Criteria) this;
        }

        public Criteria andOrgTypeBetween(String value1, String value2) {
            addCriterion("org_type between", value1, value2, "orgType");
            return (Criteria) this;
        }

        public Criteria andOrgTypeNotBetween(String value1, String value2) {
            addCriterion("org_type not between", value1, value2, "orgType");
            return (Criteria) this;
        }

        public Criteria andOrgParentIdIsNull() {
            addCriterion("org_parent_id is null");
            return (Criteria) this;
        }

        public Criteria andOrgParentIdIsNotNull() {
            addCriterion("org_parent_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrgParentIdEqualTo(Long value) {
            addCriterion("org_parent_id =", value, "orgParentId");
            return (Criteria) this;
        }

        public Criteria andOrgParentIdNotEqualTo(Long value) {
            addCriterion("org_parent_id <>", value, "orgParentId");
            return (Criteria) this;
        }

        public Criteria andOrgParentIdGreaterThan(Long value) {
            addCriterion("org_parent_id >", value, "orgParentId");
            return (Criteria) this;
        }

        public Criteria andOrgParentIdGreaterThanOrEqualTo(Long value) {
            addCriterion("org_parent_id >=", value, "orgParentId");
            return (Criteria) this;
        }

        public Criteria andOrgParentIdLessThan(Long value) {
            addCriterion("org_parent_id <", value, "orgParentId");
            return (Criteria) this;
        }

        public Criteria andOrgParentIdLessThanOrEqualTo(Long value) {
            addCriterion("org_parent_id <=", value, "orgParentId");
            return (Criteria) this;
        }

        public Criteria andOrgParentIdLike(Long value) {
            addCriterion("org_parent_id like", value, "orgParentId");
            return (Criteria) this;
        }

        public Criteria andOrgParentIdNotLike(Long value) {
            addCriterion("org_parent_id not like", value, "orgParentId");
            return (Criteria) this;
        }

        public Criteria andOrgParentIdIn(List<Long> values) {
            addCriterion("org_parent_id in", values, "orgParentId");
            return (Criteria) this;
        }

        public Criteria andOrgParentIdNotIn(List<Long> values) {
            addCriterion("org_parent_id not in", values, "orgParentId");
            return (Criteria) this;
        }

        public Criteria andOrgParentIdBetween(Long value1, Long value2) {
            addCriterion("org_parent_id between", value1, value2, "orgParentId");
            return (Criteria) this;
        }

        public Criteria andOrgParentIdNotBetween(Long value1, Long value2) {
            addCriterion("org_parent_id not between", value1, value2, "orgParentId");
            return (Criteria) this;
        }

        public Criteria andOrgCommentIsNull() {
            addCriterion("org_comment is null");
            return (Criteria) this;
        }

        public Criteria andOrgCommentIsNotNull() {
            addCriterion("org_comment is not null");
            return (Criteria) this;
        }

        public Criteria andOrgCommentEqualTo(String value) {
            addCriterion("org_comment =", value, "orgComment");
            return (Criteria) this;
        }

        public Criteria andOrgCommentNotEqualTo(String value) {
            addCriterion("org_comment <>", value, "orgComment");
            return (Criteria) this;
        }

        public Criteria andOrgCommentGreaterThan(String value) {
            addCriterion("org_comment >", value, "orgComment");
            return (Criteria) this;
        }

        public Criteria andOrgCommentGreaterThanOrEqualTo(String value) {
            addCriterion("org_comment >=", value, "orgComment");
            return (Criteria) this;
        }

        public Criteria andOrgCommentLessThan(String value) {
            addCriterion("org_comment <", value, "orgComment");
            return (Criteria) this;
        }

        public Criteria andOrgCommentLessThanOrEqualTo(String value) {
            addCriterion("org_comment <=", value, "orgComment");
            return (Criteria) this;
        }

        public Criteria andOrgCommentLike(String value) {
            addCriterion("org_comment like", value, "orgComment");
            return (Criteria) this;
        }

        public Criteria andOrgCommentNotLike(String value) {
            addCriterion("org_comment not like", value, "orgComment");
            return (Criteria) this;
        }

        public Criteria andOrgCommentIn(List<String> values) {
            addCriterion("org_comment in", values, "orgComment");
            return (Criteria) this;
        }

        public Criteria andOrgCommentNotIn(List<String> values) {
            addCriterion("org_comment not in", values, "orgComment");
            return (Criteria) this;
        }

        public Criteria andOrgCommentBetween(String value1, String value2) {
            addCriterion("org_comment between", value1, value2, "orgComment");
            return (Criteria) this;
        }

        public Criteria andOrgCommentNotBetween(String value1, String value2) {
            addCriterion("org_comment not between", value1, value2, "orgComment");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(Long value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(Long value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(Long value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(Long value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(Long value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(Long value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(Long value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(Long value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<Long> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<Long> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(Long value1, Long value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(Long value1, Long value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLike(Date value) {
            addCriterion("create_date like", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotLike(Date value) {
            addCriterion("create_date not like", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }


        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(Long value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(Long value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(Long value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(Long value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(Long value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(Long value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(Long value) {
            addCriterion("update_by like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(Long value) {
            addCriterion("update_by not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<Long> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<Long> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(Long value1, Long value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(Long value1, Long value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("update_date is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("update_date is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("update_date =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("update_date <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("update_date >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("update_date >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("update_date <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("update_date <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLike(Date value) {
            addCriterion("update_date like", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotLike(Date value) {
            addCriterion("update_date not like", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("update_date in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("update_date not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("update_date between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("update_date not between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andOrgLevelCodeIsNull() {
            addCriterion("org_level_code is null");
            return (Criteria) this;
        }

        public Criteria andOrgLevelCodeIsNotNull() {
            addCriterion("org_level_code is not null");
            return (Criteria) this;
        }

        public Criteria andOrgLevelCodeEqualTo(String value) {
            addCriterion("org_level_code =", value, "orgLevelCode");
            return (Criteria) this;
        }

        public Criteria andOrgLevelCodeNotEqualTo(String value) {
            addCriterion("org_level_code <>", value, "orgLevelCode");
            return (Criteria) this;
        }

        public Criteria andOrgLevelCodeGreaterThan(String value) {
            addCriterion("org_level_code >", value, "orgLevelCode");
            return (Criteria) this;
        }

        public Criteria andOrgLevelCodeGreaterThanOrEqualTo(String value) {
            addCriterion("org_level_code >=", value, "orgLevelCode");
            return (Criteria) this;
        }

        public Criteria andOrgLevelCodeLessThan(String value) {
            addCriterion("org_level_code <", value, "orgLevelCode");
            return (Criteria) this;
        }

        public Criteria andOrgLevelCodeLessThanOrEqualTo(String value) {
            addCriterion("org_level_code <=", value, "orgLevelCode");
            return (Criteria) this;
        }

        public Criteria andOrgLevelCodeLike(String value) {
            addCriterion("org_level_code like", value, "orgLevelCode");
            return (Criteria) this;
        }

        public Criteria andOrgLevelCodeNotLike(String value) {
            addCriterion("org_level_code not like", value, "orgLevelCode");
            return (Criteria) this;
        }

        public Criteria andOrgLevelCodeIn(List<String> values) {
            addCriterion("org_level_code in", values, "orgLevelCode");
            return (Criteria) this;
        }

        public Criteria andOrgLevelCodeNotIn(List<String> values) {
            addCriterion("org_level_code not in", values, "orgLevelCode");
            return (Criteria) this;
        }

        public Criteria andOrgLevelCodeBetween(String value1, String value2) {
            addCriterion("org_level_code between", value1, value2, "orgLevelCode");
            return (Criteria) this;
        }

        public Criteria andOrgLevelCodeNotBetween(String value1, String value2) {
            addCriterion("org_level_code not between", value1, value2, "orgLevelCode");
            return (Criteria) this;
        }

        public Criteria andOrgStateIsNull() {
            addCriterion("org_state is null");
            return (Criteria) this;
        }

        public Criteria andOrgStateIsNotNull() {
            addCriterion("org_state is not null");
            return (Criteria) this;
        }

        public Criteria andOrgStateEqualTo(String value) {
            addCriterion("org_state =", value, "orgState");
            return (Criteria) this;
        }

        public Criteria andOrgStateNotEqualTo(String value) {
            addCriterion("org_state <>", value, "orgState");
            return (Criteria) this;
        }

        public Criteria andOrgStateGreaterThan(String value) {
            addCriterion("org_state >", value, "orgState");
            return (Criteria) this;
        }

        public Criteria andOrgStateGreaterThanOrEqualTo(String value) {
            addCriterion("org_state >=", value, "orgState");
            return (Criteria) this;
        }

        public Criteria andOrgStateLessThan(String value) {
            addCriterion("org_state <", value, "orgState");
            return (Criteria) this;
        }

        public Criteria andOrgStateLessThanOrEqualTo(String value) {
            addCriterion("org_state <=", value, "orgState");
            return (Criteria) this;
        }

        public Criteria andOrgStateLike(String value) {
            addCriterion("org_state like", value, "orgState");
            return (Criteria) this;
        }

        public Criteria andOrgStateNotLike(String value) {
            addCriterion("org_state not like", value, "orgState");
            return (Criteria) this;
        }

        public Criteria andOrgStateIn(List<String> values) {
            addCriterion("org_state in", values, "orgState");
            return (Criteria) this;
        }

        public Criteria andOrgStateNotIn(List<String> values) {
            addCriterion("org_state not in", values, "orgState");
            return (Criteria) this;
        }

        public Criteria andOrgStateBetween(String value1, String value2) {
            addCriterion("org_state between", value1, value2, "orgState");
            return (Criteria) this;
        }

        public Criteria andOrgStateNotBetween(String value1, String value2) {
            addCriterion("org_state not between", value1, value2, "orgState");
            return (Criteria) this;
        }

        public Criteria andOrgAddressIsNull() {
            addCriterion("org_address is null");
            return (Criteria) this;
        }

        public Criteria andOrgAddressIsNotNull() {
            addCriterion("org_address is not null");
            return (Criteria) this;
        }

        public Criteria andOrgAddressEqualTo(String value) {
            addCriterion("org_address =", value, "orgAddress");
            return (Criteria) this;
        }

        public Criteria andOrgAddressNotEqualTo(String value) {
            addCriterion("org_address <>", value, "orgAddress");
            return (Criteria) this;
        }

        public Criteria andOrgAddressGreaterThan(String value) {
            addCriterion("org_address >", value, "orgAddress");
            return (Criteria) this;
        }

        public Criteria andOrgAddressGreaterThanOrEqualTo(String value) {
            addCriterion("org_address >=", value, "orgAddress");
            return (Criteria) this;
        }

        public Criteria andOrgAddressLessThan(String value) {
            addCriterion("org_address <", value, "orgAddress");
            return (Criteria) this;
        }

        public Criteria andOrgAddressLessThanOrEqualTo(String value) {
            addCriterion("org_address <=", value, "orgAddress");
            return (Criteria) this;
        }

        public Criteria andOrgAddressLike(String value) {
            addCriterion("org_address like", value, "orgAddress");
            return (Criteria) this;
        }

        public Criteria andOrgAddressNotLike(String value) {
            addCriterion("org_address not like", value, "orgAddress");
            return (Criteria) this;
        }

        public Criteria andOrgAddressIn(List<String> values) {
            addCriterion("org_address in", values, "orgAddress");
            return (Criteria) this;
        }

        public Criteria andOrgAddressNotIn(List<String> values) {
            addCriterion("org_address not in", values, "orgAddress");
            return (Criteria) this;
        }

        public Criteria andOrgAddressBetween(String value1, String value2) {
            addCriterion("org_address between", value1, value2, "orgAddress");
            return (Criteria) this;
        }

        public Criteria andOrgAddressNotBetween(String value1, String value2) {
            addCriterion("org_address not between", value1, value2, "orgAddress");
            return (Criteria) this;
        }

        public Criteria andOrgPostCodeIsNull() {
            addCriterion("org_post_code is null");
            return (Criteria) this;
        }

        public Criteria andOrgPostCodeIsNotNull() {
            addCriterion("org_post_code is not null");
            return (Criteria) this;
        }

        public Criteria andOrgPostCodeEqualTo(String value) {
            addCriterion("org_post_code =", value, "orgPostCode");
            return (Criteria) this;
        }

        public Criteria andOrgPostCodeNotEqualTo(String value) {
            addCriterion("org_post_code <>", value, "orgPostCode");
            return (Criteria) this;
        }

        public Criteria andOrgPostCodeGreaterThan(String value) {
            addCriterion("org_post_code >", value, "orgPostCode");
            return (Criteria) this;
        }

        public Criteria andOrgPostCodeGreaterThanOrEqualTo(String value) {
            addCriterion("org_post_code >=", value, "orgPostCode");
            return (Criteria) this;
        }

        public Criteria andOrgPostCodeLessThan(String value) {
            addCriterion("org_post_code <", value, "orgPostCode");
            return (Criteria) this;
        }

        public Criteria andOrgPostCodeLessThanOrEqualTo(String value) {
            addCriterion("org_post_code <=", value, "orgPostCode");
            return (Criteria) this;
        }

        public Criteria andOrgPostCodeLike(String value) {
            addCriterion("org_post_code like", value, "orgPostCode");
            return (Criteria) this;
        }

        public Criteria andOrgPostCodeNotLike(String value) {
            addCriterion("org_post_code not like", value, "orgPostCode");
            return (Criteria) this;
        }

        public Criteria andOrgPostCodeIn(List<String> values) {
            addCriterion("org_post_code in", values, "orgPostCode");
            return (Criteria) this;
        }

        public Criteria andOrgPostCodeNotIn(List<String> values) {
            addCriterion("org_post_code not in", values, "orgPostCode");
            return (Criteria) this;
        }

        public Criteria andOrgPostCodeBetween(String value1, String value2) {
            addCriterion("org_post_code between", value1, value2, "orgPostCode");
            return (Criteria) this;
        }

        public Criteria andOrgPostCodeNotBetween(String value1, String value2) {
            addCriterion("org_post_code not between", value1, value2, "orgPostCode");
            return (Criteria) this;
        }

        public Criteria andOrgEmailIsNull() {
            addCriterion("org_email is null");
            return (Criteria) this;
        }

        public Criteria andOrgEmailIsNotNull() {
            addCriterion("org_email is not null");
            return (Criteria) this;
        }

        public Criteria andOrgEmailEqualTo(String value) {
            addCriterion("org_email =", value, "orgEmail");
            return (Criteria) this;
        }

        public Criteria andOrgEmailNotEqualTo(String value) {
            addCriterion("org_email <>", value, "orgEmail");
            return (Criteria) this;
        }

        public Criteria andOrgEmailGreaterThan(String value) {
            addCriterion("org_email >", value, "orgEmail");
            return (Criteria) this;
        }

        public Criteria andOrgEmailGreaterThanOrEqualTo(String value) {
            addCriterion("org_email >=", value, "orgEmail");
            return (Criteria) this;
        }

        public Criteria andOrgEmailLessThan(String value) {
            addCriterion("org_email <", value, "orgEmail");
            return (Criteria) this;
        }

        public Criteria andOrgEmailLessThanOrEqualTo(String value) {
            addCriterion("org_email <=", value, "orgEmail");
            return (Criteria) this;
        }

        public Criteria andOrgEmailLike(String value) {
            addCriterion("org_email like", value, "orgEmail");
            return (Criteria) this;
        }

        public Criteria andOrgEmailNotLike(String value) {
            addCriterion("org_email not like", value, "orgEmail");
            return (Criteria) this;
        }

        public Criteria andOrgEmailIn(List<String> values) {
            addCriterion("org_email in", values, "orgEmail");
            return (Criteria) this;
        }

        public Criteria andOrgEmailNotIn(List<String> values) {
            addCriterion("org_email not in", values, "orgEmail");
            return (Criteria) this;
        }

        public Criteria andOrgEmailBetween(String value1, String value2) {
            addCriterion("org_email between", value1, value2, "orgEmail");
            return (Criteria) this;
        }

        public Criteria andOrgEmailNotBetween(String value1, String value2) {
            addCriterion("org_email not between", value1, value2, "orgEmail");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneIsNull() {
            addCriterion("org_phone is null");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneIsNotNull() {
            addCriterion("org_phone is not null");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneEqualTo(String value) {
            addCriterion("org_phone =", value, "orgPhone");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneNotEqualTo(String value) {
            addCriterion("org_phone <>", value, "orgPhone");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneGreaterThan(String value) {
            addCriterion("org_phone >", value, "orgPhone");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("org_phone >=", value, "orgPhone");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneLessThan(String value) {
            addCriterion("org_phone <", value, "orgPhone");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneLessThanOrEqualTo(String value) {
            addCriterion("org_phone <=", value, "orgPhone");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneLike(String value) {
            addCriterion("org_phone like", value, "orgPhone");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneNotLike(String value) {
            addCriterion("org_phone not like", value, "orgPhone");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneIn(List<String> values) {
            addCriterion("org_phone in", values, "orgPhone");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneNotIn(List<String> values) {
            addCriterion("org_phone not in", values, "orgPhone");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneBetween(String value1, String value2) {
            addCriterion("org_phone between", value1, value2, "orgPhone");
            return (Criteria) this;
        }

        public Criteria andOrgPhoneNotBetween(String value1, String value2) {
            addCriterion("org_phone not between", value1, value2, "orgPhone");
            return (Criteria) this;
        }

        public Criteria andOrgFaxIsNull() {
            addCriterion("org_fax is null");
            return (Criteria) this;
        }

        public Criteria andOrgFaxIsNotNull() {
            addCriterion("org_fax is not null");
            return (Criteria) this;
        }

        public Criteria andOrgFaxEqualTo(String value) {
            addCriterion("org_fax =", value, "orgFax");
            return (Criteria) this;
        }

        public Criteria andOrgFaxNotEqualTo(String value) {
            addCriterion("org_fax <>", value, "orgFax");
            return (Criteria) this;
        }

        public Criteria andOrgFaxGreaterThan(String value) {
            addCriterion("org_fax >", value, "orgFax");
            return (Criteria) this;
        }

        public Criteria andOrgFaxGreaterThanOrEqualTo(String value) {
            addCriterion("org_fax >=", value, "orgFax");
            return (Criteria) this;
        }

        public Criteria andOrgFaxLessThan(String value) {
            addCriterion("org_fax <", value, "orgFax");
            return (Criteria) this;
        }

        public Criteria andOrgFaxLessThanOrEqualTo(String value) {
            addCriterion("org_fax <=", value, "orgFax");
            return (Criteria) this;
        }

        public Criteria andOrgFaxLike(String value) {
            addCriterion("org_fax like", value, "orgFax");
            return (Criteria) this;
        }

        public Criteria andOrgFaxNotLike(String value) {
            addCriterion("org_fax not like", value, "orgFax");
            return (Criteria) this;
        }

        public Criteria andOrgFaxIn(List<String> values) {
            addCriterion("org_fax in", values, "orgFax");
            return (Criteria) this;
        }

        public Criteria andOrgFaxNotIn(List<String> values) {
            addCriterion("org_fax not in", values, "orgFax");
            return (Criteria) this;
        }

        public Criteria andOrgFaxBetween(String value1, String value2) {
            addCriterion("org_fax between", value1, value2, "orgFax");
            return (Criteria) this;
        }

        public Criteria andOrgFaxNotBetween(String value1, String value2) {
            addCriterion("org_fax not between", value1, value2, "orgFax");
            return (Criteria) this;
        }

        public Criteria andOrgSortIsNull() {
            addCriterion("org_sort is null");
            return (Criteria) this;
        }

        public Criteria andOrgSortIsNotNull() {
            addCriterion("org_sort is not null");
            return (Criteria) this;
        }

        public Criteria andOrgSortEqualTo(Integer value) {
            addCriterion("org_sort =", value, "orgSort");
            return (Criteria) this;
        }

        public Criteria andOrgSortNotEqualTo(Integer value) {
            addCriterion("org_sort <>", value, "orgSort");
            return (Criteria) this;
        }

        public Criteria andOrgSortGreaterThan(Integer value) {
            addCriterion("org_sort >", value, "orgSort");
            return (Criteria) this;
        }

        public Criteria andOrgSortGreaterThanOrEqualTo(Integer value) {
            addCriterion("org_sort >=", value, "orgSort");
            return (Criteria) this;
        }

        public Criteria andOrgSortLessThan(Integer value) {
            addCriterion("org_sort <", value, "orgSort");
            return (Criteria) this;
        }

        public Criteria andOrgSortLessThanOrEqualTo(Integer value) {
            addCriterion("org_sort <=", value, "orgSort");
            return (Criteria) this;
        }

        public Criteria andOrgSortLike(Integer value) {
            addCriterion("org_sort like", value, "orgSort");
            return (Criteria) this;
        }

        public Criteria andOrgSortNotLike(Integer value) {
            addCriterion("org_sort not like", value, "orgSort");
            return (Criteria) this;
        }

        public Criteria andOrgSortIn(List<Integer> values) {
            addCriterion("org_sort in", values, "orgSort");
            return (Criteria) this;
        }

        public Criteria andOrgSortNotIn(List<Integer> values) {
            addCriterion("org_sort not in", values, "orgSort");
            return (Criteria) this;
        }

        public Criteria andOrgSortBetween(Integer value1, Integer value2) {
            addCriterion("org_sort between", value1, value2, "orgSort");
            return (Criteria) this;
        }

        public Criteria andOrgSortNotBetween(Integer value1, Integer value2) {
            addCriterion("org_sort not between", value1, value2, "orgSort");
            return (Criteria) this;
        }

        public Criteria andManagersIsNull() {
            addCriterion("managers is null");
            return (Criteria) this;
        }

        public Criteria andManagersIsNotNull() {
            addCriterion("managers is not null");
            return (Criteria) this;
        }

        public Criteria andManagersEqualTo(String value) {
            addCriterion("managers =", value, "managers");
            return (Criteria) this;
        }

        public Criteria andManagersNotEqualTo(String value) {
            addCriterion("managers <>", value, "managers");
            return (Criteria) this;
        }

        public Criteria andManagersGreaterThan(String value) {
            addCriterion("managers >", value, "managers");
            return (Criteria) this;
        }

        public Criteria andManagersGreaterThanOrEqualTo(String value) {
            addCriterion("managers >=", value, "managers");
            return (Criteria) this;
        }

        public Criteria andManagersLessThan(String value) {
            addCriterion("managers <", value, "managers");
            return (Criteria) this;
        }

        public Criteria andManagersLessThanOrEqualTo(String value) {
            addCriterion("managers <=", value, "managers");
            return (Criteria) this;
        }

        public Criteria andManagersLike(String value) {
            addCriterion("managers like", value, "managers");
            return (Criteria) this;
        }

        public Criteria andManagersNotLike(String value) {
            addCriterion("managers not like", value, "managers");
            return (Criteria) this;
        }

        public Criteria andManagersIn(List<String> values) {
            addCriterion("managers in", values, "managers");
            return (Criteria) this;
        }

        public Criteria andManagersNotIn(List<String> values) {
            addCriterion("managers not in", values, "managers");
            return (Criteria) this;
        }

        public Criteria andManagersBetween(String value1, String value2) {
            addCriterion("managers between", value1, value2, "managers");
            return (Criteria) this;
        }

        public Criteria andManagersNotBetween(String value1, String value2) {
            addCriterion("managers not between", value1, value2, "managers");
            return (Criteria) this;
        }

        public Criteria andManagerIdsIsNull() {
            addCriterion("manager_ids is null");
            return (Criteria) this;
        }

        public Criteria andManagerIdsIsNotNull() {
            addCriterion("manager_ids is not null");
            return (Criteria) this;
        }

        public Criteria andManagerIdsEqualTo(String value) {
            addCriterion("manager_ids =", value, "managerIds");
            return (Criteria) this;
        }

        public Criteria andManagerIdsNotEqualTo(String value) {
            addCriterion("manager_ids <>", value, "managerIds");
            return (Criteria) this;
        }

        public Criteria andManagerIdsGreaterThan(String value) {
            addCriterion("manager_ids >", value, "managerIds");
            return (Criteria) this;
        }

        public Criteria andManagerIdsGreaterThanOrEqualTo(String value) {
            addCriterion("manager_ids >=", value, "managerIds");
            return (Criteria) this;
        }

        public Criteria andManagerIdsLessThan(String value) {
            addCriterion("manager_ids <", value, "managerIds");
            return (Criteria) this;
        }

        public Criteria andManagerIdsLessThanOrEqualTo(String value) {
            addCriterion("manager_ids <=", value, "managerIds");
            return (Criteria) this;
        }

        public Criteria andManagerIdsLike(String value) {
            addCriterion("manager_ids like", value, "managerIds");
            return (Criteria) this;
        }

        public Criteria andManagerIdsNotLike(String value) {
            addCriterion("manager_ids not like", value, "managerIds");
            return (Criteria) this;
        }

        public Criteria andManagerIdsIn(List<String> values) {
            addCriterion("manager_ids in", values, "managerIds");
            return (Criteria) this;
        }

        public Criteria andManagerIdsNotIn(List<String> values) {
            addCriterion("manager_ids not in", values, "managerIds");
            return (Criteria) this;
        }

        public Criteria andManagerIdsBetween(String value1, String value2) {
            addCriterion("manager_ids between", value1, value2, "managerIds");
            return (Criteria) this;
        }

        public Criteria andManagerIdsNotBetween(String value1, String value2) {
            addCriterion("manager_ids not between", value1, value2, "managerIds");
            return (Criteria) this;
        }

        public Criteria andLeadersIsNull() {
            addCriterion("leaders is null");
            return (Criteria) this;
        }

        public Criteria andLeadersIsNotNull() {
            addCriterion("leaders is not null");
            return (Criteria) this;
        }

        public Criteria andLeadersEqualTo(String value) {
            addCriterion("leaders =", value, "leaders");
            return (Criteria) this;
        }

        public Criteria andLeadersNotEqualTo(String value) {
            addCriterion("leaders <>", value, "leaders");
            return (Criteria) this;
        }

        public Criteria andLeadersGreaterThan(String value) {
            addCriterion("leaders >", value, "leaders");
            return (Criteria) this;
        }

        public Criteria andLeadersGreaterThanOrEqualTo(String value) {
            addCriterion("leaders >=", value, "leaders");
            return (Criteria) this;
        }

        public Criteria andLeadersLessThan(String value) {
            addCriterion("leaders <", value, "leaders");
            return (Criteria) this;
        }

        public Criteria andLeadersLessThanOrEqualTo(String value) {
            addCriterion("leaders <=", value, "leaders");
            return (Criteria) this;
        }

        public Criteria andLeadersLike(String value) {
            addCriterion("leaders like", value, "leaders");
            return (Criteria) this;
        }

        public Criteria andLeadersNotLike(String value) {
            addCriterion("leaders not like", value, "leaders");
            return (Criteria) this;
        }

        public Criteria andLeadersIn(List<String> values) {
            addCriterion("leaders in", values, "leaders");
            return (Criteria) this;
        }

        public Criteria andLeadersNotIn(List<String> values) {
            addCriterion("leaders not in", values, "leaders");
            return (Criteria) this;
        }

        public Criteria andLeadersBetween(String value1, String value2) {
            addCriterion("leaders between", value1, value2, "leaders");
            return (Criteria) this;
        }

        public Criteria andLeadersNotBetween(String value1, String value2) {
            addCriterion("leaders not between", value1, value2, "leaders");
            return (Criteria) this;
        }

        public Criteria andLeaderIdsIsNull() {
            addCriterion("leader_ids is null");
            return (Criteria) this;
        }

        public Criteria andLeaderIdsIsNotNull() {
            addCriterion("leader_ids is not null");
            return (Criteria) this;
        }

        public Criteria andLeaderIdsEqualTo(String value) {
            addCriterion("leader_ids =", value, "leaderIds");
            return (Criteria) this;
        }

        public Criteria andLeaderIdsNotEqualTo(String value) {
            addCriterion("leader_ids <>", value, "leaderIds");
            return (Criteria) this;
        }

        public Criteria andLeaderIdsGreaterThan(String value) {
            addCriterion("leader_ids >", value, "leaderIds");
            return (Criteria) this;
        }

        public Criteria andLeaderIdsGreaterThanOrEqualTo(String value) {
            addCriterion("leader_ids >=", value, "leaderIds");
            return (Criteria) this;
        }

        public Criteria andLeaderIdsLessThan(String value) {
            addCriterion("leader_ids <", value, "leaderIds");
            return (Criteria) this;
        }

        public Criteria andLeaderIdsLessThanOrEqualTo(String value) {
            addCriterion("leader_ids <=", value, "leaderIds");
            return (Criteria) this;
        }

        public Criteria andLeaderIdsLike(String value) {
            addCriterion("leader_ids like", value, "leaderIds");
            return (Criteria) this;
        }

        public Criteria andLeaderIdsNotLike(String value) {
            addCriterion("leader_ids not like", value, "leaderIds");
            return (Criteria) this;
        }

        public Criteria andLeaderIdsIn(List<String> values) {
            addCriterion("leader_ids in", values, "leaderIds");
            return (Criteria) this;
        }

        public Criteria andLeaderIdsNotIn(List<String> values) {
            addCriterion("leader_ids not in", values, "leaderIds");
            return (Criteria) this;
        }

        public Criteria andLeaderIdsBetween(String value1, String value2) {
            addCriterion("leader_ids between", value1, value2, "leaderIds");
            return (Criteria) this;
        }

        public Criteria andLeaderIdsNotBetween(String value1, String value2) {
            addCriterion("leader_ids not between", value1, value2, "leaderIds");
            return (Criteria) this;
        }

        public Criteria andTopOrgsIsNull() {
            addCriterion("top_orgs is null");
            return (Criteria) this;
        }

        public Criteria andTopOrgsIsNotNull() {
            addCriterion("top_orgs is not null");
            return (Criteria) this;
        }

        public Criteria andTopOrgsEqualTo(String value) {
            addCriterion("top_orgs =", value, "topOrgs");
            return (Criteria) this;
        }

        public Criteria andTopOrgsNotEqualTo(String value) {
            addCriterion("top_orgs <>", value, "topOrgs");
            return (Criteria) this;
        }

        public Criteria andTopOrgsGreaterThan(String value) {
            addCriterion("top_orgs >", value, "topOrgs");
            return (Criteria) this;
        }

        public Criteria andTopOrgsGreaterThanOrEqualTo(String value) {
            addCriterion("top_orgs >=", value, "topOrgs");
            return (Criteria) this;
        }

        public Criteria andTopOrgsLessThan(String value) {
            addCriterion("top_orgs <", value, "topOrgs");
            return (Criteria) this;
        }

        public Criteria andTopOrgsLessThanOrEqualTo(String value) {
            addCriterion("top_orgs <=", value, "topOrgs");
            return (Criteria) this;
        }

        public Criteria andTopOrgsLike(String value) {
            addCriterion("top_orgs like", value, "topOrgs");
            return (Criteria) this;
        }

        public Criteria andTopOrgsNotLike(String value) {
            addCriterion("top_orgs not like", value, "topOrgs");
            return (Criteria) this;
        }

        public Criteria andTopOrgsIn(List<String> values) {
            addCriterion("top_orgs in", values, "topOrgs");
            return (Criteria) this;
        }

        public Criteria andTopOrgsNotIn(List<String> values) {
            addCriterion("top_orgs not in", values, "topOrgs");
            return (Criteria) this;
        }

        public Criteria andTopOrgsBetween(String value1, String value2) {
            addCriterion("top_orgs between", value1, value2, "topOrgs");
            return (Criteria) this;
        }

        public Criteria andTopOrgsNotBetween(String value1, String value2) {
            addCriterion("top_orgs not between", value1, value2, "topOrgs");
            return (Criteria) this;
        }

        public Criteria andTopOrgIdsIsNull() {
            addCriterion("top_org_ids is null");
            return (Criteria) this;
        }

        public Criteria andTopOrgIdsIsNotNull() {
            addCriterion("top_org_ids is not null");
            return (Criteria) this;
        }

        public Criteria andTopOrgIdsEqualTo(String value) {
            addCriterion("top_org_ids =", value, "topOrgIds");
            return (Criteria) this;
        }

        public Criteria andTopOrgIdsNotEqualTo(String value) {
            addCriterion("top_org_ids <>", value, "topOrgIds");
            return (Criteria) this;
        }

        public Criteria andTopOrgIdsGreaterThan(String value) {
            addCriterion("top_org_ids >", value, "topOrgIds");
            return (Criteria) this;
        }

        public Criteria andTopOrgIdsGreaterThanOrEqualTo(String value) {
            addCriterion("top_org_ids >=", value, "topOrgIds");
            return (Criteria) this;
        }

        public Criteria andTopOrgIdsLessThan(String value) {
            addCriterion("top_org_ids <", value, "topOrgIds");
            return (Criteria) this;
        }

        public Criteria andTopOrgIdsLessThanOrEqualTo(String value) {
            addCriterion("top_org_ids <=", value, "topOrgIds");
            return (Criteria) this;
        }

        public Criteria andTopOrgIdsLike(String value) {
            addCriterion("top_org_ids like", value, "topOrgIds");
            return (Criteria) this;
        }

        public Criteria andTopOrgIdsNotLike(String value) {
            addCriterion("top_org_ids not like", value, "topOrgIds");
            return (Criteria) this;
        }

        public Criteria andTopOrgIdsIn(List<String> values) {
            addCriterion("top_org_ids in", values, "topOrgIds");
            return (Criteria) this;
        }

        public Criteria andTopOrgIdsNotIn(List<String> values) {
            addCriterion("top_org_ids not in", values, "topOrgIds");
            return (Criteria) this;
        }

        public Criteria andTopOrgIdsBetween(String value1, String value2) {
            addCriterion("top_org_ids between", value1, value2, "topOrgIds");
            return (Criteria) this;
        }

        public Criteria andTopOrgIdsNotBetween(String value1, String value2) {
            addCriterion("top_org_ids not between", value1, value2, "topOrgIds");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}
